package com.bitcola.security.activity.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
@Data
@Table(name = "ag_admin_v1.mining_level_condition")

public class MiningLevelCondition {
    @Column(name = "id")

    @Id
    String id;


    @Column(name = "name")
    String name;
    @Column(name = "type")

    String type;
    @Column(name = "direct_kyc")

    int directKyc;
    @Column(name = "direct_mining")

    int directMining;
    @Column(name = "direct_power")

    BigDecimal directPower;
    @Column(name = "point_id")

    String pointId;
    @Column(name = "group_power")

    BigDecimal groupPower;
    @Column(name = "group_kyc")

    int  groupKyc;
    @Column(name = "group_mining")

    int groupMining;
    @Column(name = "level")

    int level;
    @Column(name = "need_direct_group_num")

    int needDirectGroupNum;


    @Transient
    boolean isObtained;

    @Transient

    int directGroupNum;



}
